package com.mdb.open.common.enums.product;

import com.mdb.bc.api.enums.ApiEnum;

/**
 * @author liuyi
 * @date 2019/06/12
 **/
public enum ProductOpenStatusEnum implements ApiEnum<String> {

    UN_APPLY("未申请"),

    UN_OPEN("开通中"),

    NORMAL("正常"),

    PAUSE("暂停"),
    ;

    //枚举描述
    private String text;

    ProductOpenStatusEnum(String text) {
        this.text = text;
    }

    @Override
    public String getValue() {
        return this.name();
    }

    @Override
    public String getText() {
        return this.text;
    }
}
